package com.wang.tasker.core;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Executer {
	
	private static Logger logger = LoggerFactory.getLogger(Executer.class);
	
	public Executer() {
	}
	
	public void start(Runnable task){
		logger.info("Start running package...");
		if(task != null){
			task.run();
		}
		logger.info("--------------------------------------------------");
		logger.info("  == DONE! ==");
	}
	
}
